package com.fresh.auth.Service;

import com.fresh.entity.Permission;

import java.util.List;

public interface PermissionService {

    void add(Permission permission);

    List<Permission> getPermissions(Integer userId);

    List<Permission> getAll();
}
